home *** CD-ROM | disk | FTP | other *** search
/ Inter.Net 55-1 / Inter.Net 55-1.iso / CBuilder / Info / TeachU14 / SAMS / Code / Day12 / dyntablu.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-02-08  |  1.2 KB  |  37 lines

  1. //---------------------------------------------------------------------------
  2. #ifndef DynTablUH
  3. #define DynTablUH
  4. //---------------------------------------------------------------------------
  5. #include <vcl\Classes.hpp>
  6. #include <vcl\Controls.hpp>
  7. #include <vcl\StdCtrls.hpp>
  8. #include <vcl\Forms.hpp>
  9. #include <vcl\Db.hpp>
  10. #include <vcl\DBGrids.hpp>
  11. #include <vcl\DBTables.hpp>
  12. #include <vcl\Grids.hpp>
  13. //---------------------------------------------------------------------------
  14. class TForm1 : public TForm
  15. {
  16. __published:    // IDE-managed Components
  17.   TComboBox *DBNamesComboBox;
  18.   TLabel *Label1;
  19.   TComboBox *TablesComboBox;
  20.   TLabel *Label2;
  21.   
  22.   TDataSource *DataSource1;
  23.   TTable *Table1;
  24.   TDBGrid *DBGrid1;
  25.   void __fastcall FormCreate(TObject *Sender);
  26.   void __fastcall DBNamesComboBoxChange(TObject *Sender);
  27.   void __fastcall TablesComboBoxChange(TObject *Sender);
  28.   
  29. private:    // User declarations
  30. public:        // User declarations
  31.   __fastcall TForm1(TComponent* Owner);
  32. };
  33. //---------------------------------------------------------------------------
  34. extern TForm1 *Form1;
  35. //---------------------------------------------------------------------------
  36. #endif
  37.